package com.example.demo.timu.tianyiyun;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.Date;

/**
 * @author zjq
 * @version 创建时间：2023-09-05 09:57:16
 */
@Getter
@Setter
@EqualsAndHashCode
@ApiModel(value = "天翼云解决方案认证")
@Entity
@Table(name = "tiku")
public class Tiku {

    @ExcelIgnore
    @Column(name = "id")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @ExcelProperty(index = 1, value = "问题")
    private String question;

    @ExcelProperty(index = 2, value = "选项")
    private String choose;

    @ExcelProperty(index = 3, value = "答案")
    private String answer;

}